<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"      
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:icecore="http://www.icefaces.org/icefaces/core"
      xmlns:ace="http://www.icefaces.org/icefaces/components"
      xmlns:ice="http://www.icesoft.com/icefaces/component">
    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Transdmin Light</title>

        <!-- CSS -->
        <link href="#{request.contextPath}/resources/style/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" />
        <ice:outputStyle href="#{request.contextPath}/resources/style/css/transdmin.css"/>
        <ice:outputStyle href="#{request.contextPath}/xmlhttp/css/rime/rime.css"/>
        <ice:outputStyle href="#{request.contextPath}/xmlhttp/css/rime/rime.css"/>
        <ice:outputStyle href="#{request.contextPath}/resources/styles/dockbutton.css"/>
        <ice:outputStyle href="#{request.contextPath}/resources/styles/dock.css"/>
        <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie6.css" /><![endif]-->
        <!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie7.css" /><![endif]-->

        <!-- JavaScripts-->
        <script type="text/javascript" src="#{request.contextPath}/resources/style/js/jquery.js"></script>
        <script type="text/javascript" src="#{request.contextPath}/resources/style/js/jNice.js"></script>
        <script type="text/javascript" src="#{request.contextPath}/resources/javascript/dock/dock.js"></script>
    </h:head>
    <h:body>

        <div id="wrapper">
            <!-- h1 tag stays for the logo, you can use the a tag for linking the index page -->
            <h1><a href="#"><span>#{pageName}</span></a></h1>

            <!-- You can name the links with lowercase, they will be transformed to uppercase by CSS, we prefered to name them with uppercase to have the same effect with disabled stylesheet -->
            <ui:insert name = "contents"/>
            <!-- // #end mainNav -->
            <div id="containerHolder">
                <div id="container">
                    <div id="main">
                        <br/>
                        <ui:insert name="mainTemplate"/>
                    </div>
                    <div class="clear">
                    </div>
                </div> 
            </div>
            <p id="footer"> #{i18n['farmcode.footer']}<a href="http://www.perspectived.com">2012.</a></p>
        </div>
        <!-- // #wrapper -->
    </h:body>
    <!--     <h:outputStylesheet library="style" name="transdmin.css" />-->
</html>